package com.itqf.service.impl;

import com.itqf.bean.DtsCategory;
import com.itqf.mapper.DtsCategoryMapper;
import com.itqf.service.DtsCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * projectName: gp_manage
 *
 * @author: 赵伟风
 * time: 2021/8/23 23:34
 * description:
 */
@Service
public class DtsCategoryServiceImpl implements DtsCategoryService {

    @Autowired
    private DtsCategoryMapper dtsCategoryMapper;



    /**
     * 查询类别实体
     *
     * @param categoryId
     * @return
     */
    @Override
    public DtsCategory findCategoryById(Integer categoryId) {

        DtsCategory dtsCategory = dtsCategoryMapper.selectByPrimaryKey(categoryId);

        return dtsCategory;
    }
}
